package com.zjitc.pigspring.bean.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.web.bind.annotation.DeleteMapping;

@TableName("address")
@Data
public class Address {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("user_id")
    private Integer userId;

    @TableField("username")
    private String username;

    @TableField("address")
    private String address;

    @TableField("phone")
    private String phone;
}
